package com.lc.ejb.impl;

import javax.ejb.Local;
import javax.ejb.Remote;
import javax.ejb.Stateless;

import com.lc.ejb.Users;
import com.lc.ejb.UsersManager;
import com.lc.ejb.UsersManagerLocal;

@Stateless
@Remote({ UsersManager.class })
@Local({ UsersManagerLocal.class })
public class UsersManagerBean implements UsersManager {

	@Override
	public void addUser(Users user) {
		System.out.println("用户" + user.getUname() + "已经成功保存!");
		user.setUid(10);
	}

}
